<template>
  <div id="app">
    <router-view/>
  </div>
</template>
<script>
// import { mapMutations } from 'vuex'
export default {
  created () {
    // setPathUrl相关都是监听路由改变
    // var self = this
    // self.setPathUrl(self.$route.fullPath)
    // this.$route.fullPath
  },
  watch: {
    // setPathUrl相关都是监听路由改变
    // $route: 'setPathUrl'
  },
  methods: {
    // ...mapMutations('pathurl', ['setPathUrl'])
  }
}
</script>

<style lang="scss">
.header-panda{
  background-color: rgb(253,222,74);
  padding: 0px 15px;
  position: fixed;
  z-index: 111;
  width: 100%;
  box-sizing: border-box;
  .nav{
    height: 4.6em;
    .choosed{
      border-bottom: 2px solid #43240c;
    }
    div.home-nav-item{
      padding-bottom: 5px;
      text-align: center;
    }
    display: flex;
    align-items: center;
    font-size: .4rem;
    .today{
      width: 3rem;
      margin-right: .5rem;
    }
    .swiper-nav{
      margin-left: .5rem;
      flex: 1;
      overflow: hidden;
    }
    .more{
      width: 2rem;
      .iconfont{
          color: black;
          font-weight: bolder;
          font-size: 30px;
      }
    }
  }
}
.nav-home{
  position: absolute;
  left: 0;
  top: 3.8rem;
  z-index: 999;
  background: #fff;
  padding-bottom: 15px;
  p.title{
    text-align: center;
    background: #fdde4a;
    padding-right: 5px;
    margin-top: 0;
    color: #877a73;
    padding-bottom: 6px;
    i{
      float: right;
    }
  }
}
.setPadTop{
  padding-top: 6.8rem;
}
.cart-content{
  .cart-list{
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background: #f5f5f5;
  }
}
.search-head{
  display: flex;
  background:rgb(253,222,74);
  align-items: center;
  .com-search{
    flex: 1;
  }
  .back, .go{
    color: #323233;
    font-size: 14px;
    line-height: 34px;
    cursor: pointer;
    user-select: none;
    margin:0 8px;
  }
}
</style>
